package com.qijian.tool.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * App版本更新对象 tool_app
 *
 * @author qijian
 * @date 2022-02-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("tool_app")
public class App extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    /**
     * 版本号
     */
    @Excel(name = "版本号")
    @ApiModelProperty(value = "版本号")
    private String versionNumber;

    /**
     * 版本提示
     */
    @Excel(name = "版本提示")
    @ApiModelProperty(value = "版本提示")
    private String versionTips;

    /**
     * 类型
     */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String type;

    /**
     * 更新类型
     */
    @Excel(name = "更新类型")
    @ApiModelProperty(value = "更新类型")
    private Boolean updateType;

    /**
     * 是否强制更新
     */
    @Excel(name = "是否强制更新")
    @ApiModelProperty(value = "是否强制更新")
    private Boolean isForce;
}
